<#if isWithPackage?exists && isWithPackage==true>package ${packageName}.${moduleName}.service;</#if>

<#if isAutoImport?exists && isAutoImport==true>
import java.util.List;
import ${packageName}.${moduleName}.entity.${classInfo.className};
import ${packageName}.${moduleName}.qo.${classInfo.className}Condition;
import ${packageName}.qo.RequestCondition;
import ${packageName}.qo.RequestPageCondition;
import org.beetl.sql.core.page.PageResult;
</#if>
/**
 * @description ${classInfo.classComment}
 * @author ${authorName}
 * @date ${.now?string('yyyy-MM-dd')}
 */
public interface ${classInfo.className}Service{

     List<${classInfo.className}> list(RequestCondition<${classInfo.className}, ${classInfo.className}Condition> ${classInfo.className?uncap_first}Condition);

     PageResult<${classInfo.className}> page(RequestPageCondition<${classInfo.className}, ${classInfo.className}Condition> ${classInfo.className?uncap_first}Condition);

     ${classInfo.className} get(Long id);

     boolean delete(Long id);

     boolean update(${classInfo.className} ${classInfo.className?uncap_first});

     Integer save(${classInfo.className} ${classInfo.className?uncap_first});

     int[] batchSave(List<${classInfo.className}> ${classInfo.className?uncap_first}List);
}
